<template>
	<TModal
		:show="true"
		:width="450"
		:borderRadius="0"
		headerColor="#007bff"
		headerText="这是一个标题"
		headerTextColor="#fff"
		contentText="this is a super modalthis is a super modalthis is a super modalthis is a super modalthis is a super modalthis is a super modal"
		contentTextColor="#333"
		position="top"
		:btnGroupShow="true"
		confirmText="确认"
		cancelText="取消"
		@confirm="modalConfirm"
		@close="modalClose"
	/>
</template>

<script>
	export default{
		name: 'Modal',
		setup() {
			const modalConfirm = () => {
				console.log('confirm')
			}
			
			const modalClose = () => {
				console.log('close')
			}
			
			return {
				modalConfirm,
				modalClose
			}
		}
	}
</script>

<style>
</style>
